/*
 * @Author: 康为 18037890117@163.com
 * @Date: 2023-07-06 16:19:50
 * @LastEditors: 康为 18037890117@163.com
 * @LastEditTime: 2023-07-20 13:18:36
 * @FilePath: /umi-max/src/modules/Cards/OverView/index.tsx
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import * as React from 'react';
import * as echarts from 'echarts/core';
import EChartsReactCore from 'echarts-for-react';

const OverView = (props) => {
  const option = {
    xAxis: {
      type: 'category',
      data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
    },
    yAxis: {
      type: 'value',
    },
    series: [
      {
        data: [150, 230, 224, 18, 135, 147, 260],
        type: 'line',
      },
    ],
  };
  return (
    <div>
      <EChartsReactCore
        notMerge
        echarts={echarts}
        option={option}
        opts={{ renderer: 'svg' }}
      />
    </div>
  );
};

export default OverView;
